﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LowLevelGraphics.ImageFormats.SVG
{
    /// <summary>
    /// SVG element group, used to group shapes
    /// </summary>
    public class Group : Shape
    {
        protected List<Shape> m_aShape = new List<Shape>();

        /// <summary>
        /// Initializes a new instance of the <see cref="Group"/> class.
        /// </summary>
        public Group()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Group"/> class.
        /// </summary>
        /// <param name="_aShape">The _a shape.</param>
        public Group(IEnumerable<Shape> _aShape)
        {
            m_aShape.AddRange(_aShape.ToArray<Shape>());
        }
    }
}
